package com.wlz.creational.factorymethod.factory;

import com.wlz.creational.factorymethod.buttons.Button;

/**
 * @author： wlz
 * @Date 2020/10/14 11:09
 * @description： TODO 基础创建者
 * @version: 1.0
 */
public abstract class Dialog {

    public void renderWindow(){

        Button button = createButton();
        button.render();
    }

    public abstract Button createButton();
}
